package com.kystar.muxplayer.protocol.code.set;

import com.kystar.muxplayer.protocol.CodeCmd;
import java.io.InvalidObjectException;

public class CS14_CutTake extends CodeCmd {
//    1	Cut
//    2	Take
    private CS14_CutTake(int type) {
        super(type,CODE_OK);
    }

    @Override
    public byte getCode() {
        return 0x14;
    }



    public static CS14_CutTake crateCut() {
        return new CS14_CutTake(1);
    }
    public static CS14_CutTake crateTake() {
        return new CS14_CutTake(2);
    }

    @Override
    public void checkResult() throws InvalidObjectException {
        super.checkResult();
        verify(mResult[1],CODE_OK,"check");
    }
}
